- 
		Home
	
 
	- 
GiveWP – Donation Plugin and Fundraising Platform
 
- 
3.4.1
 
- 
Code
 
- 
Classes
 
-  BlockCollection 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											33 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											13 | 
										
																	
							 
													
								
																			
											| Total lines | 
											225 | 
										
																			
											| Lines of code | 
											119 | 
										
																			
											| Logical lines of code | 
											68 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											58 | 
										
																			
											| Methods | 
											16 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 16
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| findByNameRecursive() | 
									A  | 
																	53 | 
													9 | 
													23 | 
							
					
				| findParentByChildName() | 
									S  | 
																	69 | 
													3 | 
													7 | 
							
					
				| findParentByBlockCollection() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| insertBefore() | 
									S  | 
																	59 | 
													2 | 
													15 | 
							
					
				| insertAfter() | 
									S  | 
																	58 | 
													2 | 
													15 | 
							
					
				| walk() | 
									S  | 
																	68 | 
													3 | 
													8 | 
							
					
				| fromJson() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| __construct() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| make() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| toJson() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| toArray() | 
									S  | 
																	74 | 
													1 | 
													5 | 
							
					
				| getBlocks() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| findByName() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| prepend() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| append() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| remove() | 
									S  | 
																	66 | 
													1 | 
													8 |